package cn.jiyun.service.impl;

import cn.jiyun.mapper.MassagerTousuMapper;
import cn.jiyun.pojo.MassagerTousu;
import cn.jiyun.service.MassagerTousuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MassagerTousuServiceImpl implements MassagerTousuService {
    @Autowired
    private MassagerTousuMapper massagerTousuMapper;

    @Override
    public List<MassagerTousu> findAll() {
        List<MassagerTousu> massagerTousu = massagerTousuMapper.findAll();
        return massagerTousu;
    }

    @Override
    public void updatebyid(MassagerTousu massagerTousu) {
        massagerTousuMapper.updatebyid(massagerTousu);
    }
}
